package com.xjy.rpcconsume.controller;

import com.xjy.rpc.annotation.ServerGet;
import com.xjy.test.ITestController;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class test {

    @ServerGet
    ITestController testController;

    @GetMapping("/test")
    public String test(){
        return testController.hello();
    }



}
